package com.cloudkinto.bo.storage;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author long
 */
@Data
public class StorageLocationAddBo {

    /**
     * 仓库id
     */
    private Long whId;

    /**
     * 库位编码
     */
    @NotEmpty(message = "库位编码不可为空")
    private String code;

    /**
     * 库位类型
     */
    @NotNull(message = "库位类型不可为空")
    private Integer type;

    /**
     * 库区id
     */
    @NotNull(message = "库区id不可为空")
    private Long areaId;

    /**
     * 是否空库位
     */
    private Boolean emptyLocationFlag = true;

    /**
     * 拣货单库位优先级
     */
    private Integer pickingLocationSort = 1;

    /**
     * 拣货推荐优先级
     */
    private Integer pickingRecommendSort = 1;
}
